import {http} from '@/api/service.js';

export const addUsmCdRecord=(data)=>{
	return http.request({
		method:'POST',
		url:'/usmcdrecord/addUsmCdRecord',
		data:data
	})
}

export const getUsmCdRecordUnfinished=(params)=>{
	return http.request({
		method:'GET',
		url:'/usmcdrecord/getUsmCdRecordUnfinished',
		params
	})
}

export const getFinishedRecordByLotNo=(params)=>{
	return http.request({
		method:'GET',
		url:'/usmcdrecord/getFinishedRecordByLotNo',
		params
	})
}

export const getUsmCdRecordByID=(params)=>{
	return http.request({
		method:'GET',
		url:'/usmcdrecord/getUsmCdRecordByID',
		params
	})
}

export const uptUsmCdRecord=(data)=>{
	return http.request({
		method:'POST',
		url:'/usmcdrecord/uptUsmCdRecord',
		data:data
	})
}

export const delUsmCdRecord=(data)=>{
	return http.request({
		method:'POST',
		url:'/usmcdrecord/delUsmCdRecord',
		data:data
	})
}